<?php

class Etian_Controllers_Views_Helpers_Menu {
	
	public $view;
	

    public function setView(Zend_View_Interface $view)
    {	
        $this->view = $view;
    }
	
	public function menu() {
		
		if ($this->view->role=='admin') {
			return '<table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font  size=-1><b>
					<b><a STYLE="text-decoration:none"  href="/admarea/clientselectform">
						<font color=red>Find Client by Details</font></a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none"  href="/admarea"><font color=red>Find Client by NiLink 
						</font></a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none"  href="/admarea"><font color=red>New Client
						</font></a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none" href="/admarea/logout"><font color=red>Log me off
						</font></a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					</font></td></tr></table>';
		} else {
			return '<table border=0 cellspacing=0 cellpadding=4><tr><td nowrap><font color=red size=-1><b>
					<b><a STYLE="text-decoration:none" class=q href="/">NiPage
						</a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none" class=q href="/rulesofengagement">Rules Of Engagement
						</a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none" class=q href="/dailythought">Daily Thought
						</a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none" class=q href="/yournilink">Your NiLink
						</a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none" class=q href="/somestats">Some Stats
						</a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					<b><a STYLE="text-decoration:none" class=q href="/admarea">Administration
						</a></b>&nbsp;&nbsp;&nbsp;&nbsp;
					</font></td></tr></table>';
		}
	}
}




?>